package com.yidu.drug.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.yidu.drug.common.Page;
import com.yidu.drug.common.Tools;

/**
 * 总店销售订单模型
 * @author tanglei
 * @date 2018年9月5日 下午4:47:54
 * @version 1.0
 */
public class ZgsSellOrderModel implements Serializable {
	/**
	 * 销售订单ID
	 */
    private String soId;

    /**
     * 销售订单编号
     */
    private Long soNum;

    /**
     * 销售人
     */
    private String soPerson;

    /**
     * 销售时间
     */
    private Date soDate;

    /**
     * 销售总金额
     */
    private BigDecimal soTotalmoney;

    /**
     * 销售总数量
     */
    private Long soTotalnum;

    /**
     * 销售说明
     */
    private String soExplain;

    /**
     * 是否有效   0、未通过  1、等待审核  2、总店财务审核  3、总店总经理审核  4、审核通过  
     */
    private String isva;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 分页对象
     */
    private Page pages;
    
    /**
     * 销售时间(用于转换日期格式)
     */
    private String soDates;
    
    /**
     * 最小时间
     */
    private String soDateMin;
    
    /**
     * 最大时间
     */
    private String soDateMax;
    
    /**
     * 最小数量
     */
    private String soNumMin;
    
    /**
     * 最大数量
     */
    private String soNumMax;
    
    /**
     * 最大价格
     */
    private String soPriceMin;
    
    /**
     * 最大价格
     */
    private String soPriceMax;
    
    /**
     * 当前分页
     */
    private String page;
    
    /**
     * 每页显示的行数
     */
    private String limit;
    
    private static final long serialVersionUID = 1L;

	public String getSoId() {
		return soId;
	}

	public Long getSoNum() {
		return soNum;
	}

	public String getSoPerson() {
		return soPerson;
	}

	public Date getSoDate() {
		return soDate;
	}

	public BigDecimal getSoTotalmoney() {
		return soTotalmoney;
	}

	public Long getSoTotalnum() {
		return soTotalnum;
	}

	public String getSoExplain() {
		return soExplain;
	}

	public String getIsva() {
		return isva;
	}

	public Integer getSort() {
		return sort;
	}

	public Page getPages() {
		return pages;
	}

	public String getSoDates() {
		soDates = Tools.getTimeStr(soDate);
		return soDates;
	}

	public String getSoDateMin() {
		return soDateMin;
	}

	public String getSoDateMax() {
		return soDateMax;
	}

	public String getSoNumMin() {
		return soNumMin;
	}

	public String getSoNumMax() {
		return soNumMax;
	}

	public String getSoPriceMin() {
		return soPriceMin;
	}

	public String getSoPriceMax() {
		return soPriceMax;
	}

	public String getPage() {
		return page;
	}

	public String getLimit() {
		return limit;
	}

	public void setSoId(String soId) {
		this.soId = soId;
	}

	public void setSoNum(Long soNum) {
		this.soNum = soNum;
	}

	public void setSoPerson(String soPerson) {
		this.soPerson = soPerson;
	}

	public void setSoDate(Date soDate) {
		this.soDate = soDate;
	}

	public void setSoTotalmoney(BigDecimal soTotalmoney) {
		this.soTotalmoney = soTotalmoney;
	}

	public void setSoTotalnum(Long soTotalnum) {
		this.soTotalnum = soTotalnum;
	}

	public void setSoExplain(String soExplain) {
		this.soExplain = soExplain;
	}

	public void setIsva(String isva) {
		this.isva = isva;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public void setPages(Page pages) {
		this.pages = pages;
	}

	public void setSoDates(String soDates) {
		this.soDates = soDates;
	}

	public void setSoDateMin(String soDateMin) {
		this.soDateMin = soDateMin;
	}

	public void setSoDateMax(String soDateMax) {
		this.soDateMax = soDateMax;
	}

	public void setSoNumMin(String soNumMin) {
		this.soNumMin = soNumMin;
	}

	public void setSoNumMax(String soNumMax) {
		this.soNumMax = soNumMax;
	}

	public void setSoPriceMin(String soPriceMin) {
		this.soPriceMin = soPriceMin;
	}

	public void setSoPriceMax(String soPriceMax) {
		this.soPriceMax = soPriceMax;
	}

	public void setPage(String page) {
		this.page = page;
	}

	public void setLimit(String limit) {
		this.limit = limit;
	}

   
}